import { PAGE_RISK, PAGE_TROUBLESHOOT,PAGE_DAMAGE, PAGE_MONITOR, PAGE_ASSESS, PAGE_MAINTENANCE, PAGE_FILES } from '@/utils/constant'

export default   [
  {
    path: '/board',
    name: 'board',
    meta: { name: '数据看板' },
    component: () => import(/* webpackChunkName: "home" */'@/views/data_board/big_screen'),
    children: [
      {
        path: '',//path设为空，就是默认展示+的看板
        name: PAGE_FILES,
        meta: { name: '档案' },
        component: () => import('@/views/data_board/big_screen/pages/files.vue'),
      },
      {
        path: PAGE_DAMAGE,
        name: PAGE_DAMAGE,
        meta: { name: '地质灾害点调查' },
        component: () => import(`@/views/data_board/big_screen/pages/damage.vue`),
      },
      {
        path: PAGE_RISK,
        name: PAGE_RISK,
        meta: { name: '风险评估' },
        component: () => import(`@/views/data_board/big_screen/pages/risk.vue`),
      },
      {
        path: PAGE_TROUBLESHOOT,
        name: PAGE_TROUBLESHOOT,
        meta: { name: '隐患排查' },
        component: () => import('@/views/data_board/big_screen/pages/troubleshoot.vue'),
      },
      {
        path: PAGE_MONITOR,
        name: PAGE_MONITOR,
        meta: { name: '自动监测' },
        component: () => import('@/views/data_board/big_screen/pages/monitor.vue'),
      },
      {
        path: PAGE_ASSESS,
        name: PAGE_ASSESS,
        meta: { name: '技术评定' },
        component: () => import('@/views/data_board/big_screen/pages/assess.vue'),
      },
      {
        path: PAGE_MAINTENANCE,
        name: PAGE_MAINTENANCE,
        meta: { name: '养护管理' },
        component: () => import('@/views/data_board/big_screen/pages/maintenance.vue'),
      },

    ]
  }

]
